﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LoveEatRabbit.Domain.RBAC
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class UserModel:AuditModel
    {
        [Key]
        /// <summary>
        /// 用户编号
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string UserPass {  get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string UserNickname {  get; set; }
        /// <summary>
        /// 角色编号（外键）
        /// </summary>
        public int RoleId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool States { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }


    }
}
